Workflow Web Services
Menu map
When you want to allow third party systems to interact with Dreamscape web applications and data, you can create a workflow (or use a suitable existing workflow) and publish it as a RESTful web service that will interface with the third party and the web application. The source workflow may be used as normal.
- A user of a workflow web service must have an account in the Dreamscape portal.
- The source workflow must be published to enable the workflow web service.
Creating a workflow web service
To create a workflow web service:
- Create or choose an existing workflow version as a source for the web service and publish it.
- On the portal menu, navigate to Workflow > Workflow Web Services.
- Click the Create button.
- In the New Web Service page, enter details of the workflow that is to be published as a web service. Notice that you don't specify the workflow version; it is the published version that is always used.
- Click View Parameters to inspect the workflow's input and output parameters.
- Assign the user(s) that will be allowed to access the workflow web service.
- Click Save. The new Workflow Web Service is added to the list. You can click Rest Detail to review the REST details.
- On the Workflow Management page, the Is Service check box is shown ticked for the workflow that was published as a web service.
Note | If you unpublish a workflow that is the source of a workflow web service, and then republish it, the Is Service flag does not show set unless you open the workflow web service with its editor and save it (with no changes).
You can see an example of a workflow web service configuration here: Workflow Web Service Tutorial.
Editing a workflow web service
To edit a workflow web service:
- Select the web service in the Workflow Web Services list and click Edit.
- Make the required changes and click Save.
Rest detail
For REST details and instructions, select a web service and click Rest Detail.
Deleting a workflow web service
Prerequisites:
- The workflow version that was used as the source of the service must be published.
- You must edit the workflow web service and unassign all users.
Select the workflow web service and click Delete.
Top
Back to top